package com.example.sport.service;

import com.example.sport.dao.MenuDao;
import com.example.sport.pojo.MainMenu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MenuService {
    @Autowired
    MenuDao menuDao;

    public List<MainMenu> getMenus(){
        return menuDao.getMenus();
    }
}
